import Vue from 'vue'
import Router from 'vue-router'

import Home from '../components/Home'
import Classify from '../components/Classify'
import Recommend from '../components/Recommend'
import Set from '../components/set'

Vue.use(Router)

export default new Router({
  routes: [
    {path:'/home',component:Home},
    {path:'/recommend',component:Recommend},
    {path:'/classify',component:Classify},
    {path:'/set',component:Set},
    {path:'/',redirect:'/home'}
  ]
})
